﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace AsyncDBClient.Models
{
    [Serializable]
    [DataContract]
    public class Cabinet
    {
        [DataMember]
        public int Id { get; set; }

        [DataMember]
        public string CabinetId { get; set; }

        [DataMember]
        public double Latitude { get; set; }

        [DataMember]
        public double Longitude { get; set; }

        [DataMember]
        public Address Address { get; set; }

        [DataMember]
        public List<Entry> Entry { get; set; }

        public Cabinet()
        {
            Entry = new List<Entry>();
        }


    }
}
